package edu.xust.service.impl;

import edu.xust.config.Resource;
import edu.xust.config.Service;
import edu.xust.dao.impl.UserDaoImpl;
import edu.xust.entity.User;
import edu.xust.page.PageInfo;
import edu.xust.service.UserService;

import java.util.List;
@Service("userService")
public class UserServiceImpl implements UserService {
    @Resource
    UserDaoImpl userDao;

    @Override
    public List<User> getUserByPage(PageInfo pageInfo) throws Exception {

        return  userDao.getUserByPage(pageInfo);
    }
}
